﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdvertEdit.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.Advert.AdvertEdit"  ValidateRequest="False" %>

<%@ Register TagPrefix="fc" TagName="JFileControl" Src="~/SystemManage/Control/JFileControl.ascx " %>

<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
    onsubmit="return validateCallback(this, navTabAjaxDone);" action="/SystemManage/Basics/Advert/AdvertEdit.aspx">
<!-- 需保存的全局变量 -->
<asp:label runat="server" ID="_id" Visible="False" ></asp:label>

<div class="pageContent">
    <div class="pageFormContent" layoutH="56">
    
         <dl class="nowrap">
            <dt>标题：</dt>
            <dd>
                <asp:textbox runat="server" id="txt_title"  class="required" width="200px"></asp:textbox>
            </dd>
        </dl>
        <dl class="nowrap">
            <dt>描述：</dt>
            <dd>
                <asp:textbox runat="server" id="txt_des" class="required" width="100%" ></asp:textbox>
            </dd>
        </dl>
        <dl class="nowrap">
            <dt>是否显示：</dt>
            <dd>
            <asp:dropdownlist runat="server" ID="ddl_status"></asp:dropdownlist></dd>
        </dl>
        <dl class="nowrap">
            <dt>广告位置：</dt>
            <dd>
            <asp:dropdownlist runat="server" id="ddl_position" width="150px"></asp:dropdownlist>
            </dd>
            </dl>
                      <dl class="nowrap">
            <dt>跳转网站地址：</dt>
            <dd><asp:textbox id="txtUrl" runat="server" size="50"/></dd>
        </dl>
            <dl class="nowrap">
                <dt>排序：</dt>
                <dd>
                    <asp:textbox runat="server"  class="digits"  id="txt_sort"></asp:textbox>
                </dd>
            </dl>
             <dl class="nowrap">
                <dt>广告图：</dt>
                <dd>
                    （支持JPG、PNG格式，较好的效果为640*320）</dd>
            </dl>
            <dl class="nowrap">
                <dt>&nbsp;</dt>
                <dd>
                    <fc:JFileControl ID="fc_relatedimgs" FileType="jpg|png|jpeg|gif" MaxFiles="5" Enable="true"
                        AllowDelete="true" runat="Server" />
                </dd>
            </dl><%if (Request["Kind"] == "PRODUCT")
                   { %>
            <dl class="nowrap">
                <dt>产品编码：</dt>
                <dd>
                    <asp:textbox runat="server" id="txt_param1"></asp:textbox>
                </dd>
            </dl><%} %>
<%--            <dl class="nowrap">
                <dt>参数2：</dt>
                <dd>
                    <asp:textbox runat="server" id="txt_param2"></asp:textbox>
                </dd>
            </dl>
            <dl class="nowrap">
                <dt>参数3：</dt>
                <dd>
                    <asp:textbox runat="server"  id="txt_param3"></asp:textbox>
                </dd>
            </dl>
            <dl class="nowrap">
                <dt>参数4：</dt>
                <dd>
                    <asp:textbox runat="server"  id="txt_param4"></asp:textbox>
                </dd>
            </dl>
            <dl class="nowrap">
                <dt>参数5：</dt>
                <dd>
                    <asp:textbox runat="server"  id="txt_param5"></asp:textbox>
                </dd>
            </dl>--%>
	</div>
        
	<div class="formBar">
		<ul>
			<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
		</ul>
	</div>  
</div>
</form>